package com.genius.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.Set;

@Mapper
public interface PermissionMapper {

    /**
     * 根据用户ID获取权限
     * @param userId 用户ID
     * @return 权限集合
     */
    Set<String> selectPermissionByUserId(Long userId);

}